<?
	include("../model/database.php");
	include("../model/xl_nguoi_dung.php");
	$xl_nguoi_dung = new xl_nguoi_dung();
	$oldpass = $_REQUEST['OldPassword'];
	$n = $xl_nguoi_dung->checkOldpass($oldpass);
	$data = array("success"=>false);
	if($n > 0){
		$data = array("success"=>true);}
	echo json_encode($data);
?>